package com.huaxin.common.Entity;

/**
 * Created by Administrator on 2016/11/21.
 */

public class BaseDTO  {
    private int state;
    private String msg;

    public boolean isSuccessful(){
        return state==1;
    }
    public String getMsg(){
        return msg;
    }

    public int getState() {
        return state;
    }

    @Override
    public String toString() {
        return "BaseDTO{" +
                "state=" + state +
                ", msg='" + msg + '\'' +
                '}';
    }
}
